package com.hotelManager.www.po;

import java.math.BigDecimal;
import java.time.LocalDateTime;

public class Order {
    private Integer id;
    private Integer userId;
    private Integer shopId;
    private Integer roomId;
    private BigDecimal totalAmount;
    private String status;
    private LocalDateTime createTime;
    private String shopName;
    private String uniRoomCode;
    private String userName;
    private String roomNumber;

    public Order() {
    }

    public Order(Integer userId, Integer shopId, Integer roomId,
                BigDecimal totalAmount, String status, LocalDateTime createTime,
                String shopName, String uniRoomCode) {
        this.userId = userId;
        this.shopId = shopId;
        this.roomId = roomId;
        this.totalAmount = totalAmount;
        this.status = status;
        this.createTime = createTime;
        this.shopName = shopName;
        this.uniRoomCode = uniRoomCode;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getUniRoomCode() {
        return uniRoomCode;
    }

    public void setUniRoomCode(String uniRoomCode) {
        this.uniRoomCode = uniRoomCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", userId=" + userId +
                ", shopId=" + shopId +
                ", roomId=" + roomId +
                ", totalAmount=" + totalAmount +
                ", status='" + status + '\'' +
                ", createTime=" + createTime +
                ", shopName='" + shopName + '\'' +
                ", uniRoomCode='" + uniRoomCode + '\'' +
                ", userName='" + userName + '\'' +
                ", roomNumber='" + roomNumber + '\'' +
                '}';
    }
}